{#基础加载库#}

{#
    加载基本的_row_fluid模块
    fluid_macro 模块的宏方法
    length  模块大小
#}

{% macro load_row_fluid(fluid_macros, length) %}
    <div class="row-fluid">
        <div class="span{{ length | default(12) }}">
            {% for value in fluid_macros %}
                {{ value | raw }}
            {% endfor %}
        </div>
    </div>
{% endmacro %}

{% macro load_model(title, models, class) %}
    <div class="widget">
        <div class="widget-title">
            <h4><i class="{{ class | default('icon-reorder') }}"></i>{{ title }}</h4>
            <span class="tools">
                <a href="javascript:;" class="icon-chevron-down"></a>
                <a href="javascript:;" class="icon-remove"></a>
            </span>
        </div>
        <div class="widget-body">
            {% for value in models %}
            {{ value | raw }}
            {% endfor %}
        </div>
    </div>
{% endmacro %}






